import Vue from 'vue'
import App from './App.vue'
import ElementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN'
import VConsole from 'vconsole';

if (process.env.NODE_ENV === 'development') {
// 或者使用配置参数来初始化，详情见文档
    const vConsole = new VConsole({theme: 'dark'});
}


Vue.config.productionTip = false
Vue.use(ElementUi, {
    size: 'small',
    locale
})
new Vue({
    el: '#app',
    render: h => h(App)
})
